package com.dt.app.modules.shopping.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ds_category")
@ApiModel(value="DsCategory对象", description="")
public class DsCategory implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "产品栏目id")
    @TableId(value = "ds_category_id", type = IdType.AUTO)
    private Long dsCategoryId;

    @TableField("sys_company_id")
    private Long sysCompanyId;

    @ApiModelProperty(value = "目录类型id")
    @TableField("category_type_id")
    private Integer categoryTypeId;

    @ApiModelProperty(value = "1功能栏目 目录类型id 商家")
    @TableField("category_type_id_seller")
    private Integer categoryTypeIdSeller;

    @TableField("country_id")
    private Integer countryId;

    @ApiModelProperty(value = "栏目名称")
    @TableField("category_name")
    private String categoryName;

    @ApiModelProperty(value = "描述")
    @TableField("category_description")
    private String categoryDescription;

    @ApiModelProperty(value = "编码")
    @TableField("category_code")
    private String categoryCode;

    @ApiModelProperty(value = "栏目下产品总数量")
    @TableField("product_count")
    private Integer productCount;

    @ApiModelProperty(value = "搜索引擎key")
    @TableField("metaKeyword")
    private String metaKeyword;

    @ApiModelProperty(value = "搜索引擎description")
    @TableField("metaDescription")
    private String metaDescription;

    @ApiModelProperty(value = "会员级别 下拉框1--10")
    @TableField("membershipLevel")
    private Integer membershipLevel;

    @ApiModelProperty(value = "状态 1激活 0失效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    @TableField("createBy")
    private Integer createBy;

    @ApiModelProperty(value = "修改人")
    @TableField("updateBy")
    private Integer updateBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "模板路径")
    @TableField("templatePath")
    private String templatePath;

    @ApiModelProperty(value = "栏目path")
    @TableField("categoryPath")
    private String categoryPath;

    @ApiModelProperty(value = "pc：图片url")
    @TableField("imageUrl")
    private String imageUrl;

    @ApiModelProperty(value = "移动端图标")
    @TableField("yd_imageUrl")
    private String ydImageurl;

    @ApiModelProperty(value = "pc端前台 是否前台首页菜单 0 1")
    @TableField("isFrontMenu")
    private Integer isFrontMenu;

    @ApiModelProperty(value = "移动客户端 0 1")
    @TableField("yd_isFrontMenu")
    private Integer ydIsfrontmenu;

    @ApiModelProperty(value = "栏目层次")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "父id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "0无 1有")
    @TableField("is_had_child")
    private Integer isHadChild;

    @ApiModelProperty(value = "排序降序")
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
